home *** CD-ROM | disk | FTP | other *** search
- Path: news.aus.world.net!usenet
- From: Kiran Muglurmath <kiranm@fnx.com.au>
- Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
- Subject: Re: How do I link a library to my program??
- Date: Thu, 07 Mar 1996 16:15:49 +1000
- Organization: AUSNet Services pty. ltd.
- Message-ID: <313E7F15.FF6D5DF@fnx.com.au>
- References: <313d3c58.4431866@news.csus.edu> <4hkj89$iql@nnrp1.news.primenet.com>
- NNTP-Posting-Host: 198.142.77.2
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
-
- > In article <313d3c58.4431866@news.csus.edu>, wleong@sfsu.edu says...
- > >
- > > I have been given a library file (winsock.lib) which contains
- > >routines that I need to use in my program. But even if I include it
- > >in my project file, linker still couldn't find the routines in the
- > >lib. Somehow I am under the impression that I need to call certain
- > >functions in my progam in order to load the library into the module.
-
- If the library in question is an import library for a DLL, then you must
- also set the link flag to Dynamic linking in TargetExpert. If it is set
- to Static linking, you will see the same symptoms you described.
-
-
- Good luck.
- -Kiran.
-